

<?php include_once './application/views/sys_admin/common/header.php';  ?>
<?php 
$typeArr = array(
	'0'=>'--',
	'1'=>'报表',
	'2'=>'媒体报导',
);
?>
<div class=" definewidth m20">
	<table class="table table-bordered table-hover definewidth m10">
			 <thead>
			    <tr>
			        <th >ID</th>
					<th >类型</th>
					<th >标题</td>
					<th >URL</th>
					<th >缩略图</th>
					<th >添加时间</th>
					<th >操作</th>
			    </tr>
			     <?php foreach($article_list as $key=>$article){?>
				  <tr id="row_<?php echo $article['id'];?>">
					<td ><?php echo $val['id'];?></td>
					<td ><?php echo $typeArr[$val['type']];?></td>
					<td ><a href="<?php $val['url'];?>" target="_blank"><?php echo $val['title'];?></a></td>
					<td ><?php echo $val['url'];?></td>
					<td ><img src="/<?php echo $val['image'];?>" style="width:100px;height:40px;"/></td>
					<td ><?php echo date('Y-m-d',$val['add_time']);?></td>
					<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><a href="/sys_admin/meiti/view/<?php echo $val['id'];?>">修改</a></td>
				  </tr>
			  <?php }?>
			  	<tr>
			  	<td colspan="7"   class="page"><?php echo $this->pagination->create_links();?></td>
			  	</tr>
			  </thead>
		</table>
</div>
